package com.power.sifa.statistics.model.vo;

import com.power.sifa.correction.model.Crc_person;
import com.power.sifa.correction.model.Cre_warning;
import com.power.sifa.correction.model.pojo.vo.PhotoVO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class WarningDetails {


    /**
     * 预警信息id
     */
    private String id;

    /**
     * 社矫人员id
     */
    private String perid;

    /**
     * 预警信息
     */
    private Cre_warning warningInfo;

    /**
     * 人员信息
     */
    private Crc_person personInfo;

    /**
     * 预警图片集合
     */
    private List<PhotoVO> photoVOList;

    /**
     * 违反夜间规则
     */
    private NightRuleVO nightRuleVO;


    public WarningDetails(Cre_warning warning) {
        this.id = warning.getId();
        this.warningInfo = warning;
        this.perid = warning.getPerid();
    }

}
